<!DOCTYPE HTML>
<html>
<head>
    <title>首页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<style>
    .main {
        width: 400px;
        height: 430px;
        margin: 150px auto;
        border: aliceblue solid 2px;
    }

    .main-top {
        overflow: hidden;
        width: 400px;
        height: 190px;
        background-color: #1f1c4e;
    }

    .main-top img {
        display: block;
        width: 100px;
        height: 100px;
        margin: 20px auto;
    }

    .world {
        font-size: 23px;
        color: white;
        text-align: center;

    }

    .main-body {
        background-color: #FFFFFF;
    }

    .body-tip {
        margin-top: 20px;
        font-size: 20px;
        text-align: center;
        font-family: 华文楷体;
    }

    .body-register {
        margin-top: 20px;
        font-size: 20px;
        text-align: center;
        /*font-family: 微软雅黑;*/
        font-family: 华文楷体;
    }

    .body-login {
        margin-top: 20px;
        font-size: 20px;
        text-align: center;
        font-family: 华文楷体;
    }

    .boby-img {
        margin: 20px auto;
        width: 133px;
        height: 112px;
        opacity: 0.2;
        cursor: pointer;
    }

    .boby-img:hover {
        opacity: 1;
    }

</style>
<body>
<div class="main">
    <div class="main-top">
        <img src="timg.jpg" alt="">
        <div class="world">极速云盘</div>
    </div>
    <div class="main-body">
        <div class="body-register">
            <a href="/toRegister"> <b>注册</b></a>
            </dev>
            <div class="body-login">
                <a href="/toLogin"> <b>登录</b></a>
            </div>
            <div class="body-tip">
                <b>快捷登录</b>
            </div>

            <!-- 第一步重定向到github授权 -->
            <!--        <div class="boby-img" onclick="window.open('https://github.com/login/oauth/authorize?client_id=992f9aa200ce458edc55&redirect_uri=http://192.168.1.57:8087/resources&scope=user&state=2020','_self')">-->
            <div class="boby-img"
                 onclick="window.open('http://'+window.location.hostname+':'+window.location.port+'/authLogin','_self')">
                <img class="img-login" src="ss.png" alt="github登录">
                <!-- 	<div class="img-tip">github</div> -->
            </div>
        </div>
    </div>
</div>

</body>

<script>

</script>
</html>